package org.springframework.samples.mvc.basic.tipProizvodenPogon;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.samples.mvc.basic.controller.CRUDController;
import org.springframework.samples.mvc.basic.model.UIFormModel;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/tipProizvodenPogonView")
public class TipProizvodenPogonController extends CRUDController<TipProizvodenPogonView> {

	@Autowired
	public TipProizvodenPogonController(
			TipProizvodenPogonBusinessService service) {
		super(service);
	}

	@Override
	protected Class<TipProizvodenPogonView> getPojoClass() {
		return TipProizvodenPogonView.class;
	}

	@Override
	protected TipProizvodenPogonView createNewObject() {
		return new TipProizvodenPogonView();
	}

	@Override
	protected String getLowerCapitalizedClassName() {
		return "tipProizvodenPogonView";
	}

	@Override
	protected UIFormModel[] getDetailModels() {
		return new UIFormModel[0];
	}

}
